//
//  SEGNeighbourViewModel.h
//  Commom
//
//  Created by Clavis on 2019/7/29.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger, SEGEnumNeighbourViewType) {
    SEGEnumNeighbourViewType_PersonInfo = 0, /*个人主页*/
    SEGEnumNeighbourViewType_Neighbour = 1, /*邻里圈列表、邻里圈详情*/
};

@interface SEGNeighbourViewModel : NSObject

@property (nonatomic, copy)NSArray *imageContent; // 图片数组
@property (nonatomic, assign) CGFloat widgetWidth; //空间总宽度
@property (nonatomic, assign) SEGEnumNeighbourViewType type;//控件类型
@end

@interface SEGNeighbourViewLayout : NSObject
@property (nonatomic, assign,readonly) CGFloat totalHeight;//控件总高度
@property (nonatomic, assign,readonly) CGFloat totalImageWidth;//控件总高度
@property (nonatomic, assign,readonly) CGFloat totalImageHeight;//控件总高度
@property (nonatomic, strong,readonly)SEGNeighbourViewModel *data;

- (instancetype)initWithData:(SEGNeighbourViewModel *)data;
-(void)segNeighbourViewLayout;


@property (nonatomic, assign) CGFloat imageHeight;//图片高度 内部使用，不用传值
@property (nonatomic, assign) CGFloat imagePadding;//图片间距 内部使用，不用传值

@end
